package com.xiaoniu.mc;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        final Service s = new Service();
        for (int i = 0; i < 1000; i++) {
            Thread t = new Thread(new Runnable() {
                @Override
                public void run() {
                    try {
                        System.out.println(s.ok());
                    } catch (Exception e) {
                        e.printStackTrace();
                    }
                }
            });
            t.start();
        }

    }
}
